FLAT PLUS provides a full-sized, drag & drop calendar. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format, plus there's an extension provided for Google Calendar.
<div class="row"> <div class="col-md-8"> <!-- Widget --> <div class="widget"> <div class="widget-body"> <div data-component> <div id="calendar"></div> </div> </div> </div> <!-- // Widget END --> </div> <div class="col-md-4"> <!-- External Events --> <div class="uniformjs" id="external-events"> <!-- Widget --> <div class="widget widget-inverse"> <!-- Widget heading --> <div class="widget-head"> <h3 class="heading">Draggable Events</h3> </div> <!-- // Widget heading END --> <div class="widget-body"> <!-- Events list --> <ul class="unstyled"> <li class="glyphicons move"><i></i> My Event 1</li> <li class="glyphicons move"><i></i> My Event 2</li> <li class="glyphicons move"><i></i> My Event 3</li> <li class="glyphicons move"><i></i> My Event 4</li> <li class="glyphicons move"><i></i> My Event 5</li> </ul> <!-- Events list END --> <label for="drop-remove" class="checkbox"> <input type="checkbox" class="checkbox" id="drop-remove" /> remove after drop </label> <p>FLAT PLUS provides a full-sized, drag & drop calendar. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format, plus there's an extension provided for Google Calendar.</p> </div> </div> <!-- // Widget END --> </div> <!-- // External Events END --> </div> </div>
@import "http://localhost/shared/components/modules/admin/forms/elements/uniform/assets/lib/css/uniform.default.css"; @import "http://localhost/shared/components/modules/admin/forms/elements/uniform/assets/custom/less/uniformjs.less"; @import "http://localhost/shared/components/library/jquery-ui/css/jquery-ui.min.css"; @import "http://localhost/shared/components/modules/admin/calendar/assets/lib/css/fullcalendar.css"; @import "http://localhost/shared/components/modules/admin/calendar/assets/custom/less/calendar.less"; @import "assets/components/core/less/widgets.less";
<head>
section of your HTML document, before any JavaScript files: <link type="stylesheet/less" href="styles.less" />
NOTE All the styles from the CORE package also need to be imported in this file, before the component imports.
HEAD You should include the following scripts in the head section of the document, right before the closing </head>
tag, after styles.
<script src="assets/components/library/jquery-ui/js/jquery-ui.min.js?v=v1.2.3"></script> <script src="assets/components/plugins/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js?v=v1.2.3"></script>
BODY You should include the following scripts at the end of the HTML document, right before the closing </body>
tag.
<script src="assets/components/modules/admin/forms/elements/uniform/assets/lib/js/jquery.uniform.min.js?v=v1.2.3"></script> <script src="assets/components/modules/admin/forms/elements/uniform/assets/custom/js/uniform.init.js?v=v1.2.3"></script> <script src="assets/components/modules/admin/calendar/assets/lib/js/fullcalendar.min.js?v=v1.2.3"></script> <script src="assets/components/modules/admin/calendar/assets/custom/js/calendar.init.js?v=v1.2.3"></script>